package com.allqj.sfx.ddd.member.infrastructure.po;

import com.allqj.sfx.infrastructure.po.BaseDO;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author sjw
 * @className FlowTaskDefDO
 * @date 2022/7/22 17:25
 * @description: 流程定义
 */
@Entity
@Table(name = "flow_task_def")
public class FlowTaskDefDO extends BaseDO {
    @Id
    @GenericGenerator(name = "autoId", strategy = "native")
    @GeneratedValue(generator = "autoId")
    private Integer id;
    // 流程定义id
    private Integer flowDefId;
    // 任务节点步骤
    private Integer taskStep;
    // 任务节点审批角色类型
    private Integer approverType;
    // 任务节点审批角色定义json array
    private String approverDef;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFlowDefId() {
        return flowDefId;
    }

    public void setFlowDefId(Integer flowDefId) {
        this.flowDefId = flowDefId;
    }

    public Integer getTaskStep() {
        return taskStep;
    }

    public void setTaskStep(Integer taskStep) {
        this.taskStep = taskStep;
    }

    public Integer getApproverType() {
        return approverType;
    }

    public void setApproverType(Integer approverType) {
        this.approverType = approverType;
    }

    public String getApproverDef() {
        return approverDef;
    }

    public void setApproverDef(String approverDef) {
        this.approverDef = approverDef;
    }
}
